package com.example.clib.model;

import java.util.Arrays;

public class TestModel {

    private static byte byteValue = 10;
    private static short shortValue = 100;
    private static int intValue = 1000;
    private static long longValue = 10000;
    private static float floatValue = 1000.3333f;
    private static double doubleValue = 10000.3333333333d;
    private static char charValue = 'v';
    private static boolean booleanValue = true;
    private static Model2 model2Value = new Model2();
    private static String[] stringArrayValue = new String[]{"String1", "String2", "String3"};

    private byte mByteValue;
    private short mShortValue;
    private int mIntValue;
    private long mLongValue;
    private float mFloatValue;
    private double mDoubleValue;
    private char mCharValue;
    private boolean mBooleanValue;
    private Model2 mModel2Value;
    private String[] mStringArrayValue;

    public TestModel() {
    }

    public TestModel(byte mByteValue, short mShortValue, int mIntValue, long mLongValue, float mFloatValue, double mDoubleValue, char mCharValue, boolean mBooleanValue, Model2 mModel2Value, String[] mStringArrayValue) {
        this.mByteValue = mByteValue;
        this.mShortValue = mShortValue;
        this.mIntValue = mIntValue;
        this.mLongValue = mLongValue;
        this.mFloatValue = mFloatValue;
        this.mDoubleValue = mDoubleValue;
        this.mCharValue = mCharValue;
        this.mBooleanValue = mBooleanValue;
        this.mModel2Value = mModel2Value;
        this.mStringArrayValue = mStringArrayValue;
    }

    public static String getStaticFiledCollectionStr() {
        return "TestModel{" +
                "byteValue=" + byteValue +
                ", shortValue=" + shortValue +
                ", intValue=" + intValue +
                ", longValue=" + longValue +
                ", floatValue=" + floatValue +
                ", doubleValue=" + doubleValue +
                ", charValue=" + charValue +
                ", booleanValue=" + booleanValue +
                ", model2Value=" + model2Value +
                ", stringArrayValue=" + Arrays.toString(stringArrayValue) +
                '}';
    }

    private String getObjectHashCode() {
        return "@" + hashCode();
    }

    public byte getmByteValue() {
        return mByteValue;
    }

    public void setmByteValue(byte mByteValue) {
        this.mByteValue = mByteValue;
    }

    public short getmShortValue() {
        return mShortValue;
    }

    public void setmShortValue(short mShortValue) {
        this.mShortValue = mShortValue;
    }

    public int getmIntValue() {
        return mIntValue;
    }

    public void setmIntValue(int mIntValue) {
        this.mIntValue = mIntValue;
    }

    public long getmLongValue() {
        return mLongValue;
    }

    public void setmLongValue(long mLongValue) {
        this.mLongValue = mLongValue;
    }

    public float getmFloatValue() {
        return mFloatValue;
    }

    public void setmFloatValue(float mFloatValue) {
        this.mFloatValue = mFloatValue;
    }

    public double getmDoubleValue() {
        return mDoubleValue;
    }

    public void setmDoubleValue(double mDoubleValue) {
        this.mDoubleValue = mDoubleValue;
    }

    public char getmCharValue() {
        return mCharValue;
    }

    public void setmCharValue(char mCharValue) {
        this.mCharValue = mCharValue;
    }

    public boolean ismBooleanValue() {
        return mBooleanValue;
    }

    public void setmBooleanValue(boolean mBooleanValue) {
        this.mBooleanValue = mBooleanValue;
    }

    public Model2 getmModel2Value() {
        return mModel2Value;
    }

    public void setmModel2Value(Model2 mModel2Value) {
        this.mModel2Value = mModel2Value;
    }

    public String[] getmStringArrayValue() {
        return mStringArrayValue;
    }

    public void setmStringArrayValue(String[] mStringArrayValue) {
        this.mStringArrayValue = mStringArrayValue;
    }
}
